import Request from '@/utils/request'
import { API_USER_LIST, API_USER_UPDATE, API_ARTICLE_LIST, } from '@/constants/api'

export function loadList (data) {
  return new Request({
    url: API_USER_LIST,
    method: 'post',
    data
  })
}

export function updateData (data) {
  return new Request({
    url: API_USER_UPDATE,
    method: 'post',
    data
  })
}

// export function deleteData (data) {
//   return new Request({
//     url: API_COMMON_DELETE,
//     method: 'post',
//     data
//   })
// }
export function article_list(data){
  return new Request({
    url: API_ARTICLE_LIST,
    method: 'post',
    data
  })
}
